<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <title></title>
    <include file="Pub:style"/>
</head>
<body>
<div class="container">
    <a href="__URL__/index/pid/{$pid|getGoodsCategoryParentID}">返回上级</a>
    <a href="__URL__/add/pid/{$pid}">添加分类</a>
    <table class="table table-striped">
        <tr>
            <td>ID</td>
            <td>名称</td>
            <td>所属频道</td>
            <td>操作</td>
        </tr>
        <volist name="list" id="vo">
            <tr>
                <td>{$vo.id}</td>
                <td><a href="__URL__/index/pid/{$vo.id}">{$vo.name}</a></td>
                <td>{$vo.channel_id|getChannelName}</td>
                <td><a class="btn btn-primary" href="__URL__/edit/id/{$vo.id}">编辑</a>
                    <a class="btn btn-danger" href="__URL__/foreverdelete/id/{$vo.id}">删除</a>
                </td>
            </tr>
        </volist>
    </table>
</div>
</body>
</html>